package lormi.meipin.dto;

import java.math.BigDecimal;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

/**
 * 注册参数实体类
 * @author ThreeFeng
 * @date 2016年8月12日 下午5:33:28
 */
public class RegTalent {

	private Integer userid;
	
	@NotNull(message = "120006")
	@Pattern(regexp = "^1[0-9]{10}",message="120007")
	private String phone;
	
	@NotNull(message = "100033")
	private String imgurl;

	@NotNull(message = "100033")
	private String username;

	@NotNull(message = "100033")
	private Byte sex;

	@NotNull(message = "100033")
	private Integer age;

	@NotNull(message = "100033")
	private byte workingage;

	private String currtitle;

	@NotNull(message = "100033")
	private byte workingstate;

	@NotNull(message = "100033")
	private String label;

	private String deviceid;
	
	private String osname;
	
	private String version;
	
	private BigDecimal longitude;
	
	private BigDecimal latitude;

	public Integer getUserid() {
		return userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getImgurl() {
		return imgurl;
	}

	public void setImgurl(String imgurl) {
		this.imgurl = imgurl;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Byte getSex() {
		return sex;
	}

	public void setSex(Byte sex) {
		this.sex = sex;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public byte getWorkingage() {
		return workingage;
	}

	public void setWorkingage(byte workingage) {
		this.workingage = workingage;
	}

	public String getCurrtitle() {
		return currtitle;
	}

	public void setCurrtitle(String currtitle) {
		this.currtitle = currtitle;
	}

	public byte getWorkingstate() {
		return workingstate;
	}

	public void setWorkingstate(byte workingstate) {
		this.workingstate = workingstate;
	}

	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public String getDeviceid() {
		return deviceid;
	}

	public void setDeviceid(String deviceid) {
		this.deviceid = deviceid;
	}

	public String getOsname() {
		return osname;
	}

	public void setOsname(String osname) {
		this.osname = osname;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public BigDecimal getLongitude() {
		return longitude;
	}

	public void setLongitude(BigDecimal longitude) {
		this.longitude = longitude;
	}

	public BigDecimal getLatitude() {
		return latitude;
	}

	public void setLatitude(BigDecimal latitude) {
		this.latitude = latitude;
	}

	
}
